Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
basic-spread-items
Advanced tools
Spreads out a set of items horizontally so they take equal space.
ElementBase
Spreads out a set of items horizontally so they take equal space.
This component is used, for example, by the basic-sliding-viewport component to ensure that children of different size will take up the same amount of horizontal space.
This component currently requires an explicit size by applied to it.
Kind: global class
Extends: ElementBase
Mixes: DistributedChildrenAsContent
, ObserveContentChanges
ElementBase
Array.<HTMLElement>
Array.<HTMLElement>
The content of this component, defined to be the flattened array of children distributed to the component.
Kind: instance property of SpreadItems
. Defined by DistributedChildrenAsContent
mixin.
This event is raised when the component's contents (including distributed children) have changed.
Kind: event emitted by SpreadItems
. Defined by ObserveContentChanges
mixin.
Invoked when the contents of the component (including distributed children) have changed.
This method is also invoked when a component is first instantiated; the contents have essentially "changed" from being nothing. This allows the component to perform initial processing of its children.
Kind: instance method of SpreadItems
. Defined by ObserveContentChanges
mixin.
FAQs
Spreads out a set of items horizontally so they take equal space.
The npm package basic-spread-items receives a total of 2 weekly downloads. As such, basic-spread-items popularity was classified as not popular.
We found that basic-spread-items demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.